﻿<phone:PhoneApplicationPage 
    x:Class="wallstreet.Control_StockIndex"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:wallstreet"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True"
    Loaded="PhoneApplicationPage_Loaded">

    <Grid x:Name="LayoutRoot" Background="Transparent">
        <ScrollViewer>
            <StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Top">
                <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
                    <local:Control_StockExchangeBox x:Name="markedDowJones" />
                    <local:Control_StockExchangeBox x:Name="markedSandP" Margin="20,0,0,0" />
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
                    <local:Control_StockExchangeBox x:Name="markedNasdaq" />
                    <local:Control_StockExchangeBox x:Name="markedDax"  Margin="20,0,0,0" />
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
                    <local:Control_StockExchangeBox x:Name="markedFtse100" />
                    <local:Control_StockExchangeBox x:Name="markedNikkei225" Margin="20,0,0,0" />
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="0,20,0,80">
                    <local:Control_StockExchangeBox x:Name="markedHangSeng" />
                    <local:Control_StockExchangeBox x:Name="markedShanghai" Margin="20,0,0,0" />
                </StackPanel>
            </StackPanel>
        </ScrollViewer>
    </Grid>

</phone:PhoneApplicationPage>

